package com.ncmmall.mall.params;

import com.ncmmall.domain.business.merchant.freight.MerchantFreight;

import java.util.ArrayList;
import java.util.List;

/**
 * 商家运费DTO
 *
 * @author likaikai
 * @date 2019-07-08 21:02
 */
public class MerchantFreightDTO {

    /**
     * 首重（单位：kg）
     */
    private int firstWeight;

    /**
     * 首费（元）
     */
    private double firstWeightAmount;

    /**
     * 续重（单位：kg）
     */
    private int otherWeight;

    /**
     * 续费（元）
     */
    private double otherWeightAmount;

    /**
     * 首件（单位：件）
     */
    private int firstPiece;

    /**
     * 首费（元）
     */
    private double firstPieceAmount;

    /**
     * 续件（单位：件）
     */
    private int otherPiece;

    /**
     * 续费（元）
     */
    private double otherPieceAmount;

    private List<MerchantFreight> merchantFreights = new ArrayList<>();

    public List<MerchantFreight> getMerchantFreights() {
        return merchantFreights;
    }

    public void setMerchantFreights(List<MerchantFreight> merchantFreights) {
        this.merchantFreights = merchantFreights;
    }

    public int getFirstWeight() {
        return firstWeight;
    }

    public void setFirstWeight(int firstWeight) {
        this.firstWeight = firstWeight;
    }

    public double getFirstWeightAmount() {
        return firstWeightAmount;
    }

    public void setFirstWeightAmount(double firstWeightAmount) {
        this.firstWeightAmount = firstWeightAmount;
    }

    public int getOtherWeight() {
        return otherWeight;
    }

    public void setOtherWeight(int otherWeight) {
        this.otherWeight = otherWeight;
    }

    public double getOtherWeightAmount() {
        return otherWeightAmount;
    }

    public void setOtherWeightAmount(double otherWeightAmount) {
        this.otherWeightAmount = otherWeightAmount;
    }

    public int getFirstPiece() {
        return firstPiece;
    }

    public void setFirstPiece(int firstPiece) {
        this.firstPiece = firstPiece;
    }

    public double getFirstPieceAmount() {
        return firstPieceAmount;
    }

    public void setFirstPieceAmount(double firstPieceAmount) {
        this.firstPieceAmount = firstPieceAmount;
    }

    public int getOtherPiece() {
        return otherPiece;
    }

    public void setOtherPiece(int otherPiece) {
        this.otherPiece = otherPiece;
    }

    public double getOtherPieceAmount() {
        return otherPieceAmount;
    }

    public void setOtherPieceAmount(double otherPieceAmount) {
        this.otherPieceAmount = otherPieceAmount;
    }
}
